{/* LAYOUT模板 */}
	<layout name="layout"/>
{/* LAYOUT模板 */}

{/* import Js,Css */}
	<js href="__PUBLIC__/js/admin/listTable.js"/>
	<js href="__PUBLIC__/js/admin/js.util.js"/>
	<css href="__PUBLIC__/css/qs-table-1.0.css"/>
	
	<css href="__PUBLIC__/css/jquery-ui.css" />
	<js href="__PUBLIC__/js/core/jquery-ui.1.10.4.js" />
	<js href="__PUBLIC__/js/core/plugins.js"/>
{/* import js,css */}

<!-- [position] -->
	<include file="Template:position"/>
<!-- [position] -->


<div class="list-div" id="listDiv">
	<table id="tag-list-table" class="qs-table" cellpadding="3" cellspacing="1" width="100%">
		<thead>
			<tr>
				<th align="left" class="first" width="80px">
					<input onclick="listTable.selectAll(this, &quot;checkboxes&quot;)" type="checkbox">
					<a href="javascript:listTable.sort('tag_id');">编号</a>
					<img src="__PUBLIC__/image/admin/sort_desc.gif">    
				</th>
				<th align="left">
					<a href="javascript:listTable.sort('tag_words');">标签名称</a>
				</th>
				<th align="left">
					<a href="javascript:listTable.sort('user_name');">会员名</a>
				</th>
				<th align="left">
					<a href="javascript:listTable.sort('goods_name');">商品名称</a>
				</th>
				<th class="last">操作</th>
			</tr>
		</thead>
		<tbody>
			<volist name="tagList" id="tag">
			<tr class="data">
				<td class="first">
					<input name="checkboxes[]" type="checkbox" value="7">{$tag.tag_id}
				</td>
				<td class="first-cell">
					<span onclick="javascript:listTable.edit(this, 'edit_tag_name', 7)">{$tag.tag_words}</span>
				</td>
				<td align="left">
					<span></span>
				</td>
				<td align="left">
					<span>
						<a href="../goods.php?id=31" target="_blank">{$tag.goods_name}</a>
					</span>
				</td>
				<td align="center">
					<span>
						<a href="__URL__/mod_tag?id={$tag.tag_id}" title="编辑">
							<img src="__PUBLIC__/image/admin/icon_edit.gif" border="0" height="16" width="16">
						</a>
						<a href="__URL__/del_tag?id={$tag.tag_id}" title="移除">
							<img src="__PUBLIC__/image/admin/icon_drop.gif" border="0" height="16" width="16">
						</a>
					</span>
				</td>
			</tr>
			</volist>
		</tbody>
	</table>
</div>

<script>

	$(document).ready(function(){
		/* 隔行变色 */
		$('#tag-list-table').tableUI();
		/* Initialize Url */
		listTable.init('__URL__/ajax_goods');				
	});	
	
</script>



